

import 'package:flutter_module/tabbar/shop/shopModel.dart';

class ShopTagModel {
  String id;
  int createdTime;
  String creator;
  int modifiedTime;
  String modifier;
  bool logicalDelete;
  String version;
  String enterpriseId;
  String name;
  String uuid;
  List<ShopModel> tagShops =[];

  ShopTagModel(
      {this.id,
      this.createdTime,
      this.creator,
      this.modifiedTime,
      this.modifier,
      this.logicalDelete,
      this.version,
      this.enterpriseId,
      this.name,
      this.uuid});

  ShopTagModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    createdTime = json['createdTime'];
    creator = json['creator'];
    modifiedTime = json['modifiedTime'];
    modifier = json['modifier'];
    logicalDelete = json['logicalDelete'];
    version = json['version'];
    enterpriseId = json['enterpriseId'];
    name = json['name'];
    uuid = json['uuid'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['createdTime'] = this.createdTime;
    data['creator'] = this.creator;
    data['modifiedTime'] = this.modifiedTime;
    data['modifier'] = this.modifier;
    data['logicalDelete'] = this.logicalDelete;
    data['version'] = this.version;
    data['enterpriseId'] = this.enterpriseId;
    data['name'] = this.name;
    data['uuid'] = this.uuid;
    return data;
  }
}

